﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Crude.VisualStudioAddin.Forms;
using Crude.Common;

namespace Crude.VisualStudioAddin.Actions
{
    public class ProjecReferencesAction : BaseProjectAction
    {
        public override string Name
        {
            get { return "ProjectReferences"; }
        }

        public override string Caption
        {
            get { return "Project References"; }
        }

        public override string Tooltip
        {
            get { return  "Edit Project References"; }
        }

        public override BaseProjectAction.ProjectCrudeStatus CrudeStatus
        {
            get { return ProjectCrudeStatus.Crude; }
        }

        protected override void InternalExecuteAction(EnvDTE80.DTE2 applicationObject, EnvDTE.Project project)
        {
            
            ProjectReferencesForm projectReferencesForm = new ProjectReferencesForm(applicationObject,project);
            projectReferencesForm.Show(); 
        }
    }
}
